<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021/11/25
 * Time: 10:19
 */
//* **abs函数：求绝对值**　
echo abs(-14);
echo '</br>';


//* **ceil函数：进一法取整**　
echo ceil(13.3);
echo '</br>';
//* **floor函数：舍去法取整**
echo  floor(13.9);
echo '</br>';
//* **round：对浮点数进行四舍五入运算**
echo round(14.4567,2);
echo '</br>';
//* **max函数：找出最大值**　
echo max(4,2,5,7,47,8);
echo '</br>';
//* **min函数：找出最小值**　
echo min(12,35,34,12,4,6);
echo '</br>';
//* **rand函数：产生一个随机整数**　
echo rand(5.1,15.9);
echo '</br>';
//
echo "<br>";
echo "<br>";

$nowAtime = time();
echo time();
echo "<br>";
echo date("Y-m-d H:i:s",$nowAtime);

sleep(5);

echo "<br>";
$nTime = date("Y-m-d",time());

echo date("Y-m-d H:i:s",strtotime($nTime));

echo "<br>";
echo "<br>";

if(!defined("ASS")){
    define("ASS","zs");
}

echo ASS;

echo "<br>";
//die;
exit("我退出了");